<?php

//每一个消息场景，必须都在此定义一个不变的常量（这里的键是不变的）（后台添加新的模板之前必须先在此配置，添加的模板的场景来自于此配置文件）
return [
    'tpl_scene_code' => [ // 以message_config为模板的系统消息的场景code编码
        
        "news_order"=> [
            'title' => '下单',
            'template' => "【下单成功】下单成功，截单之后统一发货/提货！",
        ],
        "news_delivery"=> [
            'title' => '发货',
            'template' => "【商品出库】您购买的商品{{product_name}},订单号：{{order_number}}已成功出库，正火速向您飞去，请耐心等待！",
        ],
        'news_spell_order_success' => [
            'title' => '拼单成功',
            'template' => "【拼单成功】您参与的拼团商品{{product_name}},订单号：{{order_number}}已组队成功，正火速安排发货/提货，请耐心等待！",
        ],
        'news_spell_order_failure' => [
            'title' => '拼单失败',
            'template' => "【拼单失败】您参与的拼团商品{{product_name}},订单号：{{order_number}}未能凑够人数组团失败，系统已为您自动退款，请注意查收！",
        ],
        'news_crowd_funding_success' => [
            'title' => '众筹成功',
            'template' => "【众筹成功】您购买的商品{{product_name}},订单号：{{order_number}}已经众多好友众筹成功，系统将马上安排发货/提货，请耐心等待！",
        ],
        'news_crowd_funding_failure' => [
            'title' => '众筹失败',
            'template' => "【众筹失败】您众筹的商品{{product_name}},订单号：{{order_number}}，因未得到更多支持，商品众筹失败，系统已为您自动退款，请注意查收！",
        ],
        'news_commission_reach' => [
            'title' => '佣金到账',
            'template' => "【佣金到账】您的{{grade}}级粉丝购买商品名称成功，佣金：{{money}}元，{{coin}}金币，已到账，当前处于冻结状态，待下单用户确认收货，佣金将解冻。",
        ],
        'news_coupon_reach' => [
            'title' => '优惠券到账',
            'template' => "【优惠券到账】您的卡包里面收到优惠券，赶快去查看吧",
        ],
        'news_member_upgrade' => [
            'title' => '会员升级',
            'template' => "【会员升级】恭喜您升级成为{{member_grade}}会员，可享受{{member_grade}}会员权益！",
        ],
        'news_fans_settled_in' => [
            'title' => '粉丝入驻',
            'template' => "【粉丝来啦】恭喜{{fans_name}}成为您的粉丝，赶快去查看吧！",
        ],
        'news_house_identify_chips' => [
            'title' => '楼盘认筹开启',
            'template' => "【开启认筹】重磅消息！！！楼盘{{house_name}}开始认筹了，赶快来查看！",
        ],
        'news_change_price_notice' => [
            'title' => '变价提醒',
            'template' => "【变价提醒】楼盘{{house_name}}价格变动，现价：{{current_money}}元/平。",
        ],
        'news_application_for_residence' => [
            'title' => '入驻申请',
            'template' => "【入住申请】{{identity}}+{{nick_name}}+尾号{{end_phone_number}},申请入住楼盘{house_name}{{n1}}栋{{n2}}号房间。",
        ],
        'news_successful_entry' => [
            'title' => '入驻成功',
            'template' => "【成功入住】您好，您申请的入住楼盘{{house_name}}+{{n1}}栋+{{n2}}号房间，经业主审核，已成功通过，请注意查看。详询：0730-8352727",
        ],
        'news_settled_in_failure' => [
            'title' => '入驻失败',
            'template' => "【入住失败】您好，您申请的入住楼盘名称{{house_name}}+{{n1}}栋+{{n2}}号房间，经业主审核已失败，望理解！请注意查看。详询：0730-8352727",
        ],
        'news_house_grow_up' => [
            'title' => '家的成长',
            'template' => "【家的成长】您的房屋：楼盘{{house_name}}+{{n1}}栋+{{n2}}号，房屋{{schedule}}(进度)了。",
        ],
        'news_community_activities' => [
            'title' => '社区活动报名',
            'template' => "【活动即将开始】尊敬的用户，您参与的“{{community_name}}”，时间：{{community_start_time}}开始，活动地点：{{community_address}}！详询：{{community_phone}}",
        ],
        'news_cash_withdrawal_success' => [
            'title' => '提现成功',
            'template' => "【提现成功】由日期{{launch_time}}发起的提现，审核成功，1-3个工作日到账",
        ],
        'news_cash_withdrawal_failure' => [
            'title' => '提现失败',
            'template' => "【提现失败】由日期{{launch_time}}发起的提现，审核失败，提现金额已退还至钱包，如有疑问联系平台客服：40000009999",
        ],
        'news_housekeeper_letter' => [
            'title' => '管家来信',
            'template' => "【管家来信】来信内容前15个字…",
        ],
        'news_home_book' => [
            'title' => '家书',
            'template' => "家书】家书内容前15个字…",
        ],
        'news_system' => [
            'title' => '系统消息',
            'template' => "【系统消息】系统消息内容前15个字…",
        ],
        'news_pick_up_goods' => [
            'title' => '提货通知',
            'template' => "【提货通知】您购买的商品{{product_name}}已到店，请及时领取！",
        ],
        'news_pick_up_goods_finished' => [
            'title' => '提货完成通知',
            'template' => "【已提货】您购买的订单{{order_number}}已经在{{address}}提货点完成取件！",
        ],
        
        'news_after_sale_refund' => [
            'title' => '售后退款通知',
            'template' => "【售后退款】您的订单{{order_number}}退货申请已经提交，我们将尽快受理，请耐心等待!",
        ],
        
        'news_service_finished' => [
            'title' => '服务完成通知',
            'template' => '【服务完成】您的服务订单{{$order_number}}，已经完成服务，感谢您的支持，祝您生活愉快，期待您再次为您服务！',
        ],
        
        'news_preferential_activities' => [
            'title' => '优惠活动通知',
            'template' => "【优惠活动通知】品牌特惠，限时只要{{money}}元！",
        ],
        'news_brand_settled_in' => [
            'title' => '品牌入驻通知',
            'template' => "【品牌入驻通知】{{brand}}品牌新店开业，赶快来领福利！",
        ],
        'news_daily_check' => [
            'title' => '日报审核',
            'template' => "【审核申请】{{auditing_content}}",
        ],
        'news_check_success' => [
            'title' => '审核通过',
            'template' => "【审核通过】修改内容：{{edit_content}}.已通过审核。",
        ],
        'news_check_failure' => [
            'title' => '审核失败',
            'template' => "【审核拒绝】修改内容：{{edit_content}}.已拒绝。",
        ],
    ],
    
    'wx_scene_code' => [ // 以微信模板id为模板的消息场景code编码
        "wx_order"=> '下单',
        "wx_delivery"=> '发货',
        'wx_spell_order_success' => '拼单成功',
        'wx_spell_order_failure' => '拼单失败',
        'wx_crowd_funding_success' => '众筹成功',
        'wx_crowd_funding_failure' => '众筹失败',
        'wx_commission_reach' => '佣金到账',
        'wx_coupon_reach' => '优惠券到账',
        'wx_member_upgrade' => '会员升级',
        'wx_fans_settled_in' => '粉丝入驻',
        'wx_house_identify_chips' => '楼盘认筹开启',
        'wx_change_price_notice' => '变价提醒',
        'wx_application_for_residence' => '入驻申请',
        'wx_successful_entry' => '入驻成功',
        'wx_settled_in_failure' => '入驻失败',
        'wx_house_grow_up' => '家的成长',
        'wx_community_activities' => '社区活动报名',
        'wx_cash_withdrawal_success' => '提现成功',
        'wx_cash_withdrawal_failure' => '提现失败',
        'wx_housekeeper_letter' => '管家来信',
        'wx_home_book' => '家书',
        'wx_system' => '系统消息',
        'wx_pick_up_goods' => '提货通知',
        'wx_preferential_activities' => '优惠活动通知',
        'wx_brand_settled_in' => '品牌入驻通知',
        'wx_daily_check' => '日报审核',
        'wx_check_success' => '审核通过',
        'wx_check_failure' => '审核失败',
    ],
    
    'sms_code' => [ // 短信配置
        'SMS_167040448' => [
            'code' => 'SMS_167040448',
            'template' => '尊敬的用户，您参与的${activity}，时间：${start_time}开始，活动地点：${address}！详询：${contact_number}',
            'title' => "社区活动开始",
        ],
        'SMS_167180286' => [
            'code' => 'SMS_167180286',
            'template' => '您购买的商品${product_name}已到${address}提货点，请携带提货二维码前往取件',
            'title' => "发货提醒",
        ],
    ],
    
    
];
